//
//  HSongListView.h
//  HMusicPlayer
//
//  Created by Hament on 14/9/16.
//  Copyright (c) 2014年 HJ. All rights reserved.
//

#import "HView.h"
@class HTriangleView,HPlaylistItem;
@interface HSongListView : HView


@property (nonatomic,strong) NSMutableArray * dataSource;
@property (nonatomic,strong)IBOutlet NSTableView * tableV;
@property (nonatomic,strong) HTriangleView * triangleView;
@property (nonatomic,strong) NSArray * supportDragTypesArr;//支持拖入的类型


//刷新歌曲列表
-(void)reloadSonglistWithPlaylistItem:(HPlaylistItem*)pitem;

-(void)refreshWhenSortTypeChange;//重刷当前数据

-(void)likeSong:(NSButton*)sender;
-(void)deleteSongs:(NSButton*)sender;

-(void)desselectAllRow;//取消选择所有行

//因皮肤改变触发按钮变化
-(void)changeIconInAllCell;

//插入歌曲
-(void)insertSongsToPlaylist:(HPlaylistItem*)pitem songsPaths:(NSArray*)songsPaths;
@end
